package io.jee.runshan.utils;

public class StringUtils {

	public static boolean hasBlank(String... values) {
		if (values == null) {
			return true;
		}
		for (String value : values) {
			if (value == null || value.length() == 0) {
				return true;
			}
		}
		return false;
	}

	public static boolean allBlank(String... values) {
		if (values == null) {
			return true;
		}
		for (String value : values) {
			if (value != null && value.length() > 0) {
				return false;
			}
		}
		return true;
	}
}
